<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加电影</title>
<script type="text/javascript" src="../js/base/base.js"></script>
<script type="text/javascript" src="../js/video/videoList.js"></script>
<script type="text/javascript" src="../js/video/addVideo.js"></script>
<link type="text/css" rel="stylesheet" href="../style/base.css"></link>

<!-- 文件上传 -->
<script type="text/javascript" src="../js/bootstrap_uploadfile/js/fileinput.min.js"></script>
<script type="text/javascript" src="../js/bootstrap_uploadfile/js/fileinput_locale_zh.js"></script>
<link type="text/css" rel="stylesheet" href="../js/bootstrap_uploadfile/css/fileinput.min.css"></link>
<%@ include file="../video/base.jsp" %>
</head>
<body class="easyui-layout">
	<div data-options="region:'center',title:'添加电影'" style="padding:5px;background:#eee;">
		<form id = "addVideoForm" method="post" enctype="multipart/form-data">
	    	<div class="easyui-accordion" style="width:auto;height:auto;">
		    	<div title="电影海报" data-options="iconCls:'icon-add',selected:true">
		    		<!-- 加载编辑器的容器 -->
    				<!-- <script id="container_poster" name="videoPoster" type="text/plain"></script> -->
    				<input id="container_poster" type="file" name="videoPoster" class="file" data-preview-file-type="text" > 
		    	</div>
		    	<div title="电影名称" data-options="iconCls:'icon-add'" style="overflow:auto;padding:10px;">
		    		<input id = "videoName" class="easyui-validatebox" type="text" name="videoName" style = "width:500px"/>
		    	</div>
		    	<div title="电影简介" data-options="iconCls:'icon-add'" style="padding:10px;">
					<!-- 加载编辑器的容器 -->
    				<script id="container_about" name="videoAbout" type="text/plain"></script>
		    	</div>
		    	<div title="在线观看地址" data-options="iconCls:'icon-add'" style="overflow:auto;padding:10px;">
		    		<input class="easyui-validatebox" type="text" name="onlineAddr" style = "width:500px"/>
		    	</div>
		    	<div title="下载地址" data-options="iconCls:'icon-add'" style="overflow:auto;padding:10px;">
		    		<input class="easyui-validatebox" type="text" name="downloadAddr" style = "width:500px"/>
		    	</div>
			</div>
			<div style="overflow:auto;padding:10px;" align="center">
				<a onclick = "addVideo.saveVideo();" href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-save'">保存</a>
			</div>
    	</form>
	</div>
</body>
</html>